package LECONGHAU.STRUCTURE_PROGRAMMING.EXCERCISES;

import java.util.Scanner;

public class VD01 {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		String userName;
		String passWord;
System.out.println("moi nhap ten truy cap");
Scanner sc=new Scanner(System.in);
userName=sc.nextLine();
//if(userName.isEmpty()){
//	System.out.println("user name khong duoc phep de trong");
//    return;	
//}
System.out.println("moi nhap mat khau");
passWord=sc.nextLine();
if(userName.isEmpty()){
	System.out.println("user name khong duoc phep de trong");
	
}else if (passWord.isEmpty()) {
	System.out.println("mat khau khong duoc de trong");
	
}else {
	if(userName.equals("lehau")&&passWord.equals("jaejoongno1")){
		System.out.println("dang nhap thanh cong");
	}else {
		System.out.println("ten tai khoan hoac mat khau sai");
	}
}
	}

}
